const Pay = {
  // 查询用户的id
  selectUserId(option) {
    return `select user_id from user where user_phone= ${option.tel}`
  },

  // 修改订单号成功的状态
  updateOrderStatus(option) {
    return `update ordernumber set ordernumber_status=3 where id=${option}`
  },

  // 查询订单id
  selectOrderId(option) {
    return ` select id from ordernumber where ordernumber_id=${option}`
  },
}

exports = module.exports = Pay
